package com.zpark.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Slf4j
//指定实体类映射文件
@Table(name="ranking")

public class Ranking {
    @Id
    @KeySql(useGeneratedKeys = true)
    private  Integer id;

    @Column(name="film_index")
    private  Integer filmIndex;
    private  String filmName;
    private  String filmActorName;
    private  String filmFeasibly;

    @Transient
    private  boolean a;
}
